<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>HTML的文件声明 | css的学习</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="../gitbook/style.css">
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="../css/CSS的学习.html" />
    
    
    <link rel="prev" href="../HTML/html.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="2.1"
        data-chapter-title="HTML的文件声明"
        data-filepath="HTML/HTML文件格式.md"
        data-basepath=".."
        data-revision="Mon Jul 23 2018 09:39:03 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="../index.html">
                
                        <i class="fa fa-check"></i>
                        
                        Introduction
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="gitbookInstall.html">
            
                
                    <a href="../gitbookInstall.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.</b>
                        
                        gitbook的安装
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2" data-path="HTML/html.html">
            
                
                    <a href="../HTML/html.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.</b>
                        
                        HTML的学习
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="2.1" data-path="HTML/HTML文件格式.html">
            
                
                    <a href="../HTML/HTML文件格式.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        HTML的文件声明
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2" >
            
            <span><b>2.2.</b> html标签</span>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.1" >
            
            <span><b>2.2.1.</b> a标签</span>
            
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3" data-path="css/CSS的学习.html">
            
                
                    <a href="../css/CSS的学习.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.</b>
                        
                        CSS的学习
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1" data-path="css/yinyong.html">
            
                
                    <a href="../css/yinyong.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.1.</b>
                        
                        css引用方式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="css/select.html">
            
                
                    <a href="../css/select.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.2.</b>
                        
                        css选择符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="css/font.html">
            
                
                    <a href="../css/font.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.3.</b>
                        
                        css设置字体样式font
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.4" data-path="css/background.html">
            
                
                    <a href="../css/background.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.4.</b>
                        
                        通过CSS设置背景background
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.5" data-path="css/textalign.html">
            
                
                    <a href="../css/textalign.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.5.</b>
                        
                        文字对齐方式和光标样式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.6" data-path="css/盒子模型.html">
            
                
                    <a href="../css/盒子模型.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.6.</b>
                        
                        盒子模型
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.7" data-path="css/textyichu.html">
            
                
                    <a href="../css/textyichu.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.7.</b>
                        
                        文字溢出处理
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.8" data-path="css/position.html">
            
                
                    <a href="../css/position.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.8.</b>
                        
                        定位position
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4" data-path="js/00.html">
            
                
                    <a href="../js/00.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>4.</b>
                        
                        js的学习
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.1" data-path="js/JavaScript简介.html">
            
                
                    <a href="../js/JavaScript简介.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>4.1.</b>
                        
                        JavaScript简介
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="4.2" data-path="js/JavaScript数据类型.html">
            
                
                    <a href="../js/JavaScript数据类型.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>4.2.</b>
                        
                        JavaScript数据类型
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="4.3" data-path="js/JavaScript运算符.html">
            
                
                    <a href="../js/JavaScript运算符.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>4.3.</b>
                        
                        javascript运算符
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../" >css的学习</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h4 id="html5&#x7684;&#x6587;&#x4EF6;&#x683C;&#x5F0F;">HTML5&#x7684;&#x6587;&#x4EF6;&#x683C;&#x5F0F;</h4>
<pre><code>&lt;!DOCTYPE html&gt;        /*&#x6587;&#x6863;&#x58F0;&#x660E;,&#x58F0;&#x660E;&#x6587;&#x4EF6;&#x662F;&#x4E00;&#x4E2A;html&#x6587;&#x4EF6; &#xFF0C;&#x8FD9;&#x662F;h5&#x7684;&#x65B0;&#x683C;&#x5F0F;*/
&lt;html&gt;
    &lt;head&gt;
        &lt;meta charset=&quot;utf-8&quot; /&gt;
                                &lt;!--charset&#x6587;&#x672C;&#x4F7F;&#x7528;&#x600E;&#x6837;&#x7684;&#x7F16;&#x7801;&#x683C;&#x5F0F;
                                    &#x901A;&#x5E38;&#x662F;utf-8&#x56FD;&#x9645;&#x7F16;&#x7801;&#xFF0C;&#x548C;&#x56FD;&#x6807;gb2312
                                --&gt;
        &lt;title&gt;h5&#x7684;&#x4E86;&#x89E3;&#x4E0E;&#x8BA4;&#x77E5;&lt;/title&gt;
        &lt;link rel=&quot;icon&quot; type=&quot;text/css&quot; href=&quot;&quot;/&gt;
        &lt;meta name=&quot;Keywords&quot; content=&quot;&#x58F0;&#x660E;&#x5173;&#x952E;&#x5B57;&#xFF0C;&#x5173;&#x952E;&#x8BCD;&#xFF0C;&#x5173;&#x952E;&#x8BCD;&#x53EF;&#x4EE5;&#x6709;&#x591A;&#x4E2A;&#xFF0C;&#x5173;&#x952E;&#x8BCD;&#x4E4B;&#x95F4;&#x7528;&#x9017;&#x53F7;&#x9694;&#x5F00;&#xFF0C;&#x4E00;&#x822C;&#x6709;6~8&#x4E2A;&quot;/&gt;                                     
        &lt;meta name=&quot;Description&quot; content=&quot;&#x7F51;&#x7AD9;&#x63CF;&#x8FF0;&quot;/&gt;
         &lt;!--
                                &#x5173;&#x952E;&#x5B57;&#xFF0C;&#x548C;&#x63CF;&#x8FF0;&#x7684;&#x4F5C;&#x7528;&#xFF1A;
                            &#x6709;&#x5229;&#x4E8E;&#x641C;&#x7D22;&#x5F15;&#x64CE;&#x4F18;&#x5316;&#xFF08;SEO&#xFF09;&#xFF0C;&#x5373;&#x53EF;&#x901A;&#x8FC7;&#x5173;&#x952E;&#x5B57;&#x548C;&#x63CF;&#x8FF0;&#x4F7F;&#x7528;&#x6237;&#x53EF;&#x4EE5;&#x641C;&#x7D22;&#x5230; &#x81EA;&#x5DF1;&#x7684;&#x7F51;&#x7AD9; &#xFF0C;&#x5339;&#x914D;&#x5EA6;&#x8D8A;&#x9AD8;&#x6392;&#x540D;&#x8D8A;&#x9760;&#x524D;&#xFF0C;
                                          --&gt;
    &lt;/head&gt;
    &lt;body&gt;
     &lt;!--
        html:&#x8D85;&#x6587;&#x672C;&#x7F16;&#x8F91;&#x8BED;&#x8A00;&#x7B2C;&#x4E94;&#x4E2A;&#x7248;&#x672C;  &#x6807;&#x51C6;&#x6807;&#x51C6;&#x8BED;&#x8A00;
        html5&#xFF1A;HTML&#x7684;&#x7B2C;&#x4E94;&#x4E2A;&#x7248;&#x672C;
             w3c&#x548C;   &#x5171;&#x540C;&#x5F00;&#x53D1;    
      --&gt;
     &lt;!--   &#x5728;&#x6D4F;&#x89C8;&#x5668;&#x4E2D;&#x4E0D;&#x4F1A;&#x663E;&#x793A;&#xFF1B;gb2312&#x56FD;&#x6807;&#xFF08;&#x56FD;&#x5185;&#x6807;&#x51C6;&#x8BED;&#x8A00;&#xFF09;--&gt;
     &lt;!--html&#x6807;&#x7B7E;&#xFF1A;HTML&#x6807;&#x7B7E;&#x7531;&#x9996;&#x6807;&#x7B7E;&#x548C;&#x5C3E;&#x6807;&#x7B7E;&#x7EC4;&#x6210;&#xFF0C;&#x5185;&#x5BB9;&#x5199;&#x5728;&#x9996;&#x6807;&#x7B7E;&#x548C;&#x5C3E;&#x6807;&#x7B7E;&#x4E4B;&#x95F4;--&gt;
    &lt;/body&gt;
&lt;/html&gt;
</code></pre><p>html:     <strong>&#x8D85;&#x6587;&#x672C;&#x7F16;&#x8F91;&#x8BED;&#x8A00;&#x7B2C;&#x4E94;&#x4E2A;&#x7248;&#x672C;</strong>  &#x6807;&#x51C6;&#x6807;&#x51C6;&#x8BED;&#x8A00;</p>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="../HTML/html.html" class="navigation navigation-prev " aria-label="Previous page: HTML的学习"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="../css/CSS的学习.html" class="navigation navigation-next " aria-label="Next page: CSS的学习"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="../gitbook/app.js"></script>

    
    <script src="../gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-livereload/plugin.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"livereload":{}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
